package cn.ljlao.mall.product.goods.service;

import cn.ljlao.common.utils.PageUtils;
import cn.ljlao.mall.product.goods.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.ljlao.mall.product.goods.entity.SkuInfoEntity;
import cn.ljlao.mall.product.goods.vo.SpuSaveVo;

import java.util.List;
import java.util.Map;

/**
 * sku信息
 *
 * @author LiuZhen
 * @email ljlao@vip.qq.com
 * @date 2020-10-14 13:51:59
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo spuSaveVo);

    void saveBaseSpuInfo(SpuInfoEntity infoEntity);

    PageUtils queryPageInfo(Map<String, Object> params);

    List<SkuInfoEntity> getSkusBySpuId(Long spuId);
}

